from sqlalchemy import Column, String, Integer
from DataBase.DataBaseConnect import DBConnect

class BasicInfo(DBConnect.Base):
    #Base作为被继承的类
    __tablename__ = 'basic_info'
    id = Column(Integer,primary_key=True)
    autotest_type = Column(String(10),nullable=False,index=True)
    end = Column(String(10),nullable=False,index=True)
    page_no = Column(String(64),nullable=False,index=True)
    function_no = Column(String(128),nullable=False,index=True)
    element_type = Column(String(10),nullable=False,index=True)
    assert_info = Column(String(256),nullable=False,index=True)
    feature_nae = Column(String(64),nullable=False,index=True)
    story_name = Column(String(64),nullable=False,index=True)